<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Kyoto Cabinet: kyotocabinet::BasicDB::Error Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />



</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Kyoto Cabinet
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespacekyotocabinet.html">kyotocabinet</a>      </li>
      <li class="navelem"><a class="el" href="classkyotocabinet_1_1BasicDB.html">BasicDB</a>      </li>
      <li class="navelem"><a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html">Error</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">kyotocabinet::BasicDB::Error Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="kyotocabinet::BasicDB::Error" -->
<p><a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html" title="Error data.">Error</a> data.  
 <a href="classkyotocabinet_1_1BasicDB_1_1Error.html#details">More...</a></p>

<p><code>#include &lt;kcdb.h&gt;</code></p>

<p><a href="classkyotocabinet_1_1BasicDB_1_1Error-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html#aae81720eb2d1d8be04375d0f766d0fa2">Code</a> { <br/>
&#160;&#160;<a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html#aae81720eb2d1d8be04375d0f766d0fa2a433ed022a7a88a23d97a9cf3f3037a58">SUCCESS</a>, 
<a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html#aae81720eb2d1d8be04375d0f766d0fa2ac81c063626de0fde2012db4c9b16d735">NOIMPL</a>, 
<a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html#aae81720eb2d1d8be04375d0f766d0fa2af919117434fc76015d10b8a7c3a4ac2d">INVALID</a>, 
<a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html#aae81720eb2d1d8be04375d0f766d0fa2a8215c63f00a695498b8c123963da05d4">NOREPOS</a>, 
<br/>
&#160;&#160;<a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html#aae81720eb2d1d8be04375d0f766d0fa2a1421d91c5542ed7c2a8bf0600c88361c">NOPERM</a>, 
<a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html#aae81720eb2d1d8be04375d0f766d0fa2a3ba55811325377d605afb248d99ff081">BROKEN</a>, 
<a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html#aae81720eb2d1d8be04375d0f766d0fa2a8440836ac5a4db32912eb100c185ce90">DUPREC</a>, 
<a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html#aae81720eb2d1d8be04375d0f766d0fa2a5203b408caad46b778eb810de4a181b1">NOREC</a>, 
<br/>
&#160;&#160;<a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html#aae81720eb2d1d8be04375d0f766d0fa2a39d6d061463db3f26f063c8d63a726fa">LOGIC</a>, 
<a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html#aae81720eb2d1d8be04375d0f766d0fa2a76f30950798eb4b78188b3a3a1a51179">SYSTEM</a>, 
<a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html#aae81720eb2d1d8be04375d0f766d0fa2a123cc5a6bc88a29827f0f6b18597672b">MISC</a> =  15
<br/>
 }</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html" title="Error data.">Error</a> codes.  <a href="classkyotocabinet_1_1BasicDB_1_1Error.html#aae81720eb2d1d8be04375d0f766d0fa2">More...</a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html#ae2d37689768b3fcd118ee1938da98f11">Error</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor.  <a href="#ae2d37689768b3fcd118ee1938da98f11"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html#a626f8b9dcf4bd743b9655b2d314141e8">Error</a> (const <a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html">Error</a> &amp;src)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor.  <a href="#a626f8b9dcf4bd743b9655b2d314141e8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html#a6f749e62cadb91a621f36acf1d260dd6">Error</a> (<a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html#aae81720eb2d1d8be04375d0f766d0fa2">Code</a> <a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html#af84e52b72702dfb1fe6ef64f07991e1c">code</a>, const char *<a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html#a3c69269fa2e10edf6c8042f2fa0a4a9d">message</a>)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#a6f749e62cadb91a621f36acf1d260dd6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html#a5b00d7c4228e83c40c5fc0d7d353e0b3">~Error</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#a5b00d7c4228e83c40c5fc0d7d353e0b3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html#a681ef8d29f266786d069d7d00cdec7a4">set</a> (<a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html#aae81720eb2d1d8be04375d0f766d0fa2">Code</a> <a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html#af84e52b72702dfb1fe6ef64f07991e1c">code</a>, const char *<a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html#a3c69269fa2e10edf6c8042f2fa0a4a9d">message</a>)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the error information.  <a href="#a681ef8d29f266786d069d7d00cdec7a4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html#aae81720eb2d1d8be04375d0f766d0fa2">Code</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html#af84e52b72702dfb1fe6ef64f07991e1c">code</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the error code.  <a href="#af84e52b72702dfb1fe6ef64f07991e1c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html#abdb12a2ca2df5add3409e9bba230baa4">name</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the readable string of the code.  <a href="#abdb12a2ca2df5add3409e9bba230baa4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html#a3c69269fa2e10edf6c8042f2fa0a4a9d">message</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the supplement message.  <a href="#a3c69269fa2e10edf6c8042f2fa0a4a9d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html">Error</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html#a191cdf9edff9297542183a6060db2b0f">operator=</a> (const <a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html">Error</a> &amp;right)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Assignment operator from the self type.  <a href="#a191cdf9edff9297542183a6060db2b0f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html#a6775fa7bb4c8099a8ab1327ed3c19abd">operator int32_t</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Cast operator to integer.  <a href="#a6775fa7bb4c8099a8ab1327ed3c19abd"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html#abf9d0f001845ed1a1d988903005e10a4">codename</a> (<a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html#aae81720eb2d1d8be04375d0f766d0fa2">Code</a> <a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html#af84e52b72702dfb1fe6ef64f07991e1c">code</a>)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the readable string of an error code.  <a href="#abf9d0f001845ed1a1d988903005e10a4"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p><a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html" title="Error data.">Error</a> data. </p>
</div><hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="aae81720eb2d1d8be04375d0f766d0fa2"></a><!-- doxytag: member="kyotocabinet::BasicDB::Error::Code" ref="aae81720eb2d1d8be04375d0f766d0fa2" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html#aae81720eb2d1d8be04375d0f766d0fa2">kyotocabinet::BasicDB::Error::Code</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html" title="Error data.">Error</a> codes. </p>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="aae81720eb2d1d8be04375d0f766d0fa2a433ed022a7a88a23d97a9cf3f3037a58"></a><!-- doxytag: member="SUCCESS" ref="aae81720eb2d1d8be04375d0f766d0fa2a433ed022a7a88a23d97a9cf3f3037a58" args="" -->SUCCESS</em>&nbsp;</td><td>
<p>success </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="aae81720eb2d1d8be04375d0f766d0fa2ac81c063626de0fde2012db4c9b16d735"></a><!-- doxytag: member="NOIMPL" ref="aae81720eb2d1d8be04375d0f766d0fa2ac81c063626de0fde2012db4c9b16d735" args="" -->NOIMPL</em>&nbsp;</td><td>
<p>not implemented </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="aae81720eb2d1d8be04375d0f766d0fa2af919117434fc76015d10b8a7c3a4ac2d"></a><!-- doxytag: member="INVALID" ref="aae81720eb2d1d8be04375d0f766d0fa2af919117434fc76015d10b8a7c3a4ac2d" args="" -->INVALID</em>&nbsp;</td><td>
<p>invalid operation </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="aae81720eb2d1d8be04375d0f766d0fa2a8215c63f00a695498b8c123963da05d4"></a><!-- doxytag: member="NOREPOS" ref="aae81720eb2d1d8be04375d0f766d0fa2a8215c63f00a695498b8c123963da05d4" args="" -->NOREPOS</em>&nbsp;</td><td>
<p>no repository </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="aae81720eb2d1d8be04375d0f766d0fa2a1421d91c5542ed7c2a8bf0600c88361c"></a><!-- doxytag: member="NOPERM" ref="aae81720eb2d1d8be04375d0f766d0fa2a1421d91c5542ed7c2a8bf0600c88361c" args="" -->NOPERM</em>&nbsp;</td><td>
<p>no permission </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="aae81720eb2d1d8be04375d0f766d0fa2a3ba55811325377d605afb248d99ff081"></a><!-- doxytag: member="BROKEN" ref="aae81720eb2d1d8be04375d0f766d0fa2a3ba55811325377d605afb248d99ff081" args="" -->BROKEN</em>&nbsp;</td><td>
<p>broken file </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="aae81720eb2d1d8be04375d0f766d0fa2a8440836ac5a4db32912eb100c185ce90"></a><!-- doxytag: member="DUPREC" ref="aae81720eb2d1d8be04375d0f766d0fa2a8440836ac5a4db32912eb100c185ce90" args="" -->DUPREC</em>&nbsp;</td><td>
<p>record duplication </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="aae81720eb2d1d8be04375d0f766d0fa2a5203b408caad46b778eb810de4a181b1"></a><!-- doxytag: member="NOREC" ref="aae81720eb2d1d8be04375d0f766d0fa2a5203b408caad46b778eb810de4a181b1" args="" -->NOREC</em>&nbsp;</td><td>
<p>no record </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="aae81720eb2d1d8be04375d0f766d0fa2a39d6d061463db3f26f063c8d63a726fa"></a><!-- doxytag: member="LOGIC" ref="aae81720eb2d1d8be04375d0f766d0fa2a39d6d061463db3f26f063c8d63a726fa" args="" -->LOGIC</em>&nbsp;</td><td>
<p>logical inconsistency </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="aae81720eb2d1d8be04375d0f766d0fa2a76f30950798eb4b78188b3a3a1a51179"></a><!-- doxytag: member="SYSTEM" ref="aae81720eb2d1d8be04375d0f766d0fa2a76f30950798eb4b78188b3a3a1a51179" args="" -->SYSTEM</em>&nbsp;</td><td>
<p>system error </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="aae81720eb2d1d8be04375d0f766d0fa2a123cc5a6bc88a29827f0f6b18597672b"></a><!-- doxytag: member="MISC" ref="aae81720eb2d1d8be04375d0f766d0fa2a123cc5a6bc88a29827f0f6b18597672b" args="" -->MISC</em>&nbsp;</td><td>
<p>miscellaneous error </p>
</td></tr>
</table>
</dd>
</dl>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ae2d37689768b3fcd118ee1938da98f11"></a><!-- doxytag: member="kyotocabinet::BasicDB::Error::Error" ref="ae2d37689768b3fcd118ee1938da98f11" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html#ae2d37689768b3fcd118ee1938da98f11">kyotocabinet::BasicDB::Error::Error</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Default constructor. </p>

</div>
</div>
<a class="anchor" id="a626f8b9dcf4bd743b9655b2d314141e8"></a><!-- doxytag: member="kyotocabinet::BasicDB::Error::Error" ref="a626f8b9dcf4bd743b9655b2d314141e8" args="(const Error &amp;src)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html#ae2d37689768b3fcd118ee1938da98f11">kyotocabinet::BasicDB::Error::Error</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html">Error</a> &amp;&#160;</td>
          <td class="paramname"><em>src</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Copy constructor. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>the source object. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a6f749e62cadb91a621f36acf1d260dd6"></a><!-- doxytag: member="kyotocabinet::BasicDB::Error::Error" ref="a6f749e62cadb91a621f36acf1d260dd6" args="(Code code, const char *message)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html#ae2d37689768b3fcd118ee1938da98f11">kyotocabinet::BasicDB::Error::Error</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html#aae81720eb2d1d8be04375d0f766d0fa2">Code</a>&#160;</td>
          <td class="paramname"><em>code</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>message</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructor. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">code</td><td>an error code. </td></tr>
    <tr><td class="paramname">message</td><td>a supplement message. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a5b00d7c4228e83c40c5fc0d7d353e0b3"></a><!-- doxytag: member="kyotocabinet::BasicDB::Error::~Error" ref="a5b00d7c4228e83c40c5fc0d7d353e0b3" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html#a5b00d7c4228e83c40c5fc0d7d353e0b3">kyotocabinet::BasicDB::Error::~Error</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Destructor. </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a681ef8d29f266786d069d7d00cdec7a4"></a><!-- doxytag: member="kyotocabinet::BasicDB::Error::set" ref="a681ef8d29f266786d069d7d00cdec7a4" args="(Code code, const char *message)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html#a681ef8d29f266786d069d7d00cdec7a4">kyotocabinet::BasicDB::Error::set</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html#aae81720eb2d1d8be04375d0f766d0fa2">Code</a>&#160;</td>
          <td class="paramname"><em>code</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>message</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the error information. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">code</td><td>an error code. </td></tr>
    <tr><td class="paramname">message</td><td>a supplement message. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="af84e52b72702dfb1fe6ef64f07991e1c"></a><!-- doxytag: member="kyotocabinet::BasicDB::Error::code" ref="af84e52b72702dfb1fe6ef64f07991e1c" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html#aae81720eb2d1d8be04375d0f766d0fa2">Code</a> <a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html#af84e52b72702dfb1fe6ef64f07991e1c">kyotocabinet::BasicDB::Error::code</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the error code. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the error code. </dd></dl>

</div>
</div>
<a class="anchor" id="abdb12a2ca2df5add3409e9bba230baa4"></a><!-- doxytag: member="kyotocabinet::BasicDB::Error::name" ref="abdb12a2ca2df5add3409e9bba230baa4" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* <a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html#abdb12a2ca2df5add3409e9bba230baa4">kyotocabinet::BasicDB::Error::name</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the readable string of the code. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the readable string of the code. </dd></dl>

</div>
</div>
<a class="anchor" id="a3c69269fa2e10edf6c8042f2fa0a4a9d"></a><!-- doxytag: member="kyotocabinet::BasicDB::Error::message" ref="a3c69269fa2e10edf6c8042f2fa0a4a9d" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* <a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html#a3c69269fa2e10edf6c8042f2fa0a4a9d">kyotocabinet::BasicDB::Error::message</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the supplement message. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the supplement message. </dd></dl>

</div>
</div>
<a class="anchor" id="abf9d0f001845ed1a1d988903005e10a4"></a><!-- doxytag: member="kyotocabinet::BasicDB::Error::codename" ref="abf9d0f001845ed1a1d988903005e10a4" args="(Code code)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static const char* <a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html#abf9d0f001845ed1a1d988903005e10a4">kyotocabinet::BasicDB::Error::codename</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html#aae81720eb2d1d8be04375d0f766d0fa2">Code</a>&#160;</td>
          <td class="paramname"><em>code</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the readable string of an error code. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">code</td><td>the error code. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the readable string of the error code. </dd></dl>

</div>
</div>
<a class="anchor" id="a191cdf9edff9297542183a6060db2b0f"></a><!-- doxytag: member="kyotocabinet::BasicDB::Error::operator=" ref="a191cdf9edff9297542183a6060db2b0f" args="(const Error &amp;right)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html">Error</a>&amp; kyotocabinet::BasicDB::Error::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classkyotocabinet_1_1BasicDB_1_1Error.html">Error</a> &amp;&#160;</td>
          <td class="paramname"><em>right</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Assignment operator from the self type. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">right</td><td>the right operand. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the reference to itself. </dd></dl>

</div>
</div>
<a class="anchor" id="a6775fa7bb4c8099a8ab1327ed3c19abd"></a><!-- doxytag: member="kyotocabinet::BasicDB::Error::operator int32_t" ref="a6775fa7bb4c8099a8ab1327ed3c19abd" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">kyotocabinet::BasicDB::Error::operator int32_t </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Cast operator to integer. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the error code. </dd></dl>

</div>
</div>
</div><!-- contents -->


<hr class="footer"/><address class="footer"><small>
Generated on Fri May 25 2012 01:21:36 for Kyoto Cabinet by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
